<h2>Liste</h2>
<table cellpadding="0" cellspacing="0">
    <tr>
		<td>Nom</td>
                <td style="margin-left:20px">Prenom</td>
                <td style="margin-left:20px">Email</td>
                <td style="margin-left:20px">Actions</td>
    </tr>
    <?php foreach ($users as $cur_user):?>
    <tr>
        <td><?php echo ucfirst($cur_user['User']['lastname'])?></td>
        <td><?php echo ucfirst($cur_user['User']['firstname'])?></td>
        <td><?php echo $cur_user['User']['email']?></td>
        <td><?php echo $html->image("edit.png", array("alt" => "Voir profil",'url' => array('action' => 'view', $cur_user['User']['id']))); ?>
</td>
    </tr>
   <?php endforeach;?>
        
</table>
